import 'package:get/get.dart';
import 'package:palmf_hid/common/entities/can_select_results_entity.dart';

class CheckState {
  CheckState() {
    ///Initialize variables
  }
  var historyResultList = <CanSelectResultsEntity>[].obs;

  final _isLocalData = true.obs;
  final _checkTime = "".obs;
  final _dataState = "没数据".obs;

  get dataState => _dataState.value;

  set dataState(value) {
    _dataState.value = value;
  }

  get isLocalData => _isLocalData.value;

  set isLocalData(value) {
    _isLocalData.value = value;
  }

  get checkTime => _checkTime.value;

  set checkTime(value) {
    _checkTime.value = value;
  }

  final _allSelect = false.obs;

  get allSelect => _allSelect.value;

  set allSelect(value) {
    _allSelect.value = value;
  }

  final _total = 0.obs;

  get total => _total.value;

  set total(value) {
    _total.value = value;
  }

  final _deviceNo = "".obs;
  final _project = "".obs;

  get deviceNo => _deviceNo.value;

  set deviceNo(value) {
    _deviceNo.value = value;
  }

  get project => _project.value;

  set project(value) {
    _project.value = value;
  }
}
